cmake_minimum_required(VERSION 2.6)
project(KORE2ENGINE)

#There are lots of scripts with cmake
#for finding external libraries. 
#see /usr/local/share/cmake-2.6/Modules/Find*.cmake for more examples
#find_package(GLUT)
find_package(SDL)
find_package(SDL_ttf)
find_package(SDL_image)
find_package(OpenGL)
find_package(ZLIB)

set(CMAKE_CXX_FLAGS "-g -Wall")
INCLUDE_DIRECTORIES(${KROE2ENGINE_BINARY_DIR})
add_subdirectory(src)
